
//------------------------------------------------------------------------------

using Apps.Models;
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models.SYS
{

    public partial class SYS_PARAMETERModel : Virtual_SYS_PARAMETERModel
    {

    }
    public class Virtual_SYS_PARAMETERModel
    {
        [Display(Name = "系统参数GUID")]
        public virtual string PARAMETER_ID { get; set; }
        [Display(Name = "系统参数键"), Required]
        public virtual string PARAMETER_KEY { get; set; }
        [Display(Name = "系统参数值"), Required]
        public virtual string PARAMETER_VALUE { get; set; }
        [Display(Name = "系统参数分类"), Required, RegularExpression(@"^[1-9]\d{0,3}|10000$", ErrorMessage = "系统参数分类必须大于0小于10000")]
        public virtual int PARAMETER_TYPE { get; set; }
        [Display(Name = "备注")]
        public virtual string REMARKS { get; set; }
    }
}
